Skip to content

Retry workflow polls with stable request ids#1

Merged
rmcdaniel merged 1 commit into
mainfrom
fix/workflow-poll-request-id-retry
May 15, 2026
Merged

Retry workflow polls with stable request ids#1
rmcdaniel merged 1 commit into
mainfrom
fix/workflow-poll-request-id-retry

Conversation

@rmcdaniel
Copy link
Copy Markdown
Member

Follow-up to durable-workflow/server#4.

Summary

  • send a poll_request_id on workflow task polls
  • retry one timed-out workflow poll once with the same request id so the server can replay a cached leased task instead of dropping it
  • keep the client test surface aligned with the dynamic request id field

Validation

  • . .venv/bin/activate && python -m pytest tests/test_client.py -k "poll_workflow_task"

@rmcdaniel rmcdaniel merged commit b5cba14 into main May 15, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants